﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using NewBee.Core.BusinessService;
using WebMvc.Attributes;

// For more information on enabling MVC for empty projects, visit http://go.microsoft.com/fwlink/?LinkID=397860

namespace WebMvc.Controllers
{
    public class HomeController : BaseController
    {
        // GET: /<controller>/
        AgentFactory _AgentFactory = new AgentFactory();

        [Login]
        public IActionResult Index()
        {
            string str = this.ControllerContext.RouteData.Values["id"].ToString();
            return View();
        }

        
    }
}
